package top.sigetech.springcloud.alibaba.service;

import org.springframework.stereotype.Component;
import top.sigetech.springcloud.entity.Payment;
import top.sigetech.springcloud.vo.CommonResult;

@Component
public class PaymentFallbackService implements PaymentService {

    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<>(444,"服务降级返回---PaymentFallbackService",new Payment(id,"errorService"));
    }
}